package com.yhn.smartalbum.model.dto.req;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * @author yhn
 * @version 1.0
 * @description
 * @date 2024/12/27 16:24
 */
@Data
public class UserRegisterRequestDTO {
    /**
     * 账号
     */
    @NotBlank(message = "账号不能为空")
    @Size(min = 4, max = 16, message = "账号长度在4-16位之间")
    private String userAccount;
    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    @Size(min = 4, max = 16, message = "密码长度在4-16位之间")
    private String userPassword;
    /**
     * 确认密码
     */
    @NotBlank(message = "账号不能为空")
    @Size(min = 4, max = 16, message = "密码长度在4-16位之间")
    private String checkPassword;


}

